#include <iostream>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include "abc.h"
using namespace std;

int g_a = 1;
int g_b;

void func1(){
    static int s_c = 1;
    static int s_d;
    cout << "&s_d: " << &s_d << endl;
    cout << "&s_c: " << &s_c << endl;
}

void func2(){

}

int main(){
   
    int e = 10;
    int* pi = new int[10]{0};
    cout << "&e: " << &e << endl;
    printf("&add: %p\n", &add);
    cout << add(1,2) << endl;
    printf("&errno: %p\n", &errno);
    cout << "pi: " << pi << endl;
    cout << "&g_b: " << &g_b << endl;
    cout << "&g_a: " << &g_a << endl;
    func1();
    printf("&func1: %p\n", &func1);
    printf("&func2: %p\n", &func2);
    
    return 0;
}
